package cn.broadsense.biz.mapper;

import cn.broadsense.biz.domain.ChannelTagDetails;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author bs
* @description 针对表【t_channel_tag_detatils(点位标签明细)】的数据库操作Mapper
* @createDate 2023-09-25 16:22:58
* @Entity cn.broadsense.biz.domain.ChannelTagDetatils
*/
public interface ChannelTagDetailsMapper extends BaseMapper<ChannelTagDetails> {


    @Select("select distinct(tag_id) from t_channel_tag_details")
    List<Long> channelTagId();

    /**
     * 统计已填数据点位列表
     *
     * @param tagId
     * @return
     */
    long countThirdDataQty(@Param("tagId") Long tagId);
}




